Skip to main content

DeleteSingletonCodeunitOf

Type

statement

Summary

Deletes the codeunit at index Index in Target.

Syntax

delete codeunit <Index> of <Target>

Description

Replaces the codeunit at the given index with the empty string.

note

It is an error if Index is out of range.

Parameters

NameTypeDescription

Index

An expression which evaluates to a valid integer index of Target.

Target

A string container.

Examples

variable tVar as String
put "thorough" into tVar
delete codeunit 3 of tVar -- tVar contains "through"
Thank you for your feedback!

Was this page helpful?